/*
 * Name: Joon Ho Cho
 * Date: 10/24/2008
 * Course: 15-437
 */
package scheduler.formbean;

import java.util.ArrayList;
import java.util.List;

public class EditSectionForm {
    String section = null;
    int id;

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }
    public void setId(String id){
    	this.id=Integer.parseInt(id);
    }

    public int getId() {
      return id;
    }

    public List<String> getValidationErrors() {
        return new ArrayList<String>();
    }
    
    public boolean isPresent() {
       return (getId()!= 0);
    }
}
